package cn.s1995.sloth.bizs.event;

import cn.s1995.sloth.bizs.oo.dto.ShopCartItemDTO;
import cn.s1995.sloth.bizs.oo.dto.ShopCartOrderDTO;
import cn.s1995.sloth.bizs.oo.req.OrderREQ;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * ConfirmOrderEvent
 *
 * @author Lex
 * @description
 * @date 2023/12/26 19:16
 */
@Data
@AllArgsConstructor
public class ConfirmOrderEvent {
    /**
     * 购物车已经组装好的店铺订单信息
     */
    private ShopCartOrderDTO shopCartOrderDto;

    /**
     * 下单请求的参数
     */
    private OrderREQ orderParam;

    /**
     * 店铺中的所有商品项
     */
    private List<ShopCartItemDTO> shopCartItems;
}
